package org.jeecg.modules.geo.model.dto;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.util.Converter;
import lombok.Data;

import java.util.HashMap;

/**
 * @ClassName DeviceDTO
 * @Description TODO
 * @Author czd
 * @Date 2021/12/24 13:35
 * @Version 1.0
 **/
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonDeserialize(contentConverter = Converter.class)
public class DeviceDTO {
    private HashMap<String, Object> base;

    private HashMap<String, Object> coordinate;

    @JSONField(deserialize = false)
    private HashMap<String, Object> icon;

    @JSONField(deserialize = false)
    private HashMap<String, Object> action;

    //定制参数
    private String params;
    private String leftAction;
    private String rightAction;
    private String customIcon;
}
